package org.osomit.sacct.session.token.iface;

import com.google.inject.ImplementedBy;

import java.io.Serializable;

import org.osomit.sacct.session.token.impl.IdleTimeoutTokenExpirationPolicy;

/**
 * @author Jian Fang (John.Jian.Fang@gmail.com)
 *
 * Date: Jul 1, 2009
 */
@ImplementedBy(IdleTimeoutTokenExpirationPolicy.class)
public interface TokenExpirationPolicy extends Serializable {

    boolean isExpired(TokenState tokenState);
}
